package com.yicong.ants;

/**
 * @author glj
 * @version 2021/3/18 0018
 */
public class MyGiftListBean {
    private String nickname;
    private String avatar;
    private String created_at;
    private String gift_qty;
    private String gift_img;

    public MyGiftListBean() {
    }

    public String getNickname() {
        return this.nickname;
    }

    public String getAvatar() {
        return this.avatar;
    }

    public String getCreated_at() {
        return this.created_at;
    }

    public String getGift_qty() {
        return this.gift_qty;
    }

    public String getGift_img() {
        return this.gift_img;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public void setGift_qty(String gift_qty) {
        this.gift_qty = gift_qty;
    }

    public void setGift_img(String gift_img) {
        this.gift_img = gift_img;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof MyGiftListBean)) return false;
        final MyGiftListBean other = (MyGiftListBean) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$nickname = this.getNickname();
        final Object other$nickname = other.getNickname();
        if (this$nickname == null ? other$nickname != null : !this$nickname.equals(other$nickname))
            return false;
        final Object this$avatar = this.getAvatar();
        final Object other$avatar = other.getAvatar();
        if (this$avatar == null ? other$avatar != null : !this$avatar.equals(other$avatar))
            return false;
        final Object this$created_at = this.getCreated_at();
        final Object other$created_at = other.getCreated_at();
        if (this$created_at == null ? other$created_at != null : !this$created_at.equals(other$created_at))
            return false;
        final Object this$gift_qty = this.getGift_qty();
        final Object other$gift_qty = other.getGift_qty();
        if (this$gift_qty == null ? other$gift_qty != null : !this$gift_qty.equals(other$gift_qty))
            return false;
        final Object this$gift_img = this.getGift_img();
        final Object other$gift_img = other.getGift_img();
        if (this$gift_img == null ? other$gift_img != null : !this$gift_img.equals(other$gift_img))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof MyGiftListBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $nickname = this.getNickname();
        result = result * PRIME + ($nickname == null ? 43 : $nickname.hashCode());
        final Object $avatar = this.getAvatar();
        result = result * PRIME + ($avatar == null ? 43 : $avatar.hashCode());
        final Object $created_at = this.getCreated_at();
        result = result * PRIME + ($created_at == null ? 43 : $created_at.hashCode());
        final Object $gift_qty = this.getGift_qty();
        result = result * PRIME + ($gift_qty == null ? 43 : $gift_qty.hashCode());
        final Object $gift_img = this.getGift_img();
        result = result * PRIME + ($gift_img == null ? 43 : $gift_img.hashCode());
        return result;
    }

    public String toString() {
        return "MyGiftListBean(nickname=" + this.getNickname() + ", avatar=" + this.getAvatar() + ", created_at=" + this.getCreated_at() + ", gift_qty=" + this.getGift_qty() + ", gift_img=" + this.getGift_img() + ")";
    }
}
